Q3ControllerState_SaveAndReset
You can use theQ3ControllerState_SaveAndReset
function to save the current state of a controller.
TQ3Status Q3ControllerState_SaveAndReset ( TQ3ControllerStateObject controllerStateObject);
controllerStateObject
- A controller state object.
DESCRIPTION
TheQ3ControllerState_SaveAndReset
function saves the current state of the controller that is associated with the controller state object specified by thecontrollerStateObject
parameter.Q3ControllerState_SaveAndReset
also resets those channels to their inactive states. You should callQ3ControllerState_SaveAndReset
to save a controller's channels when your application becomes inactive.